<template v-if="arr">
    <view v-for="item in arr" class="list">
        {{ item }}
    </view>
</template>
<script setup lang="ts">
import './index.scss'
defineProps({
    arr: {
        type: Array,
        default: 0,
    }
})
</script>